﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MisModel
{
    /// <summary>
    /// 供应商模型
    /// </summary>
    [Serializable]
    public partial class Supply
    {
        public Supply() { }

        #region Model
        private string _supp_id;
        private string _supp_name;
        private string _all_name;
        private string _addr;
        private string _post;
        private string _tele;
        private string _bei;
        private string _liker;
        private string _bank;
        private string _bank_no;
        private string _tax_no;
        private string _f1;
        private string _f2;
        private decimal _faithje;
        private DateTime _date_f;
        private string _faith;
        private decimal _debt;
        private string _way_js;
        private string _oper;
        private DateTime _date_l;
        private decimal _sumjebuy;
        private string _boss;


        /// <summary>
        /// 供应商编号
        /// </summary>
        public string SuppID
        {
            set { _supp_id = value; }
            get { return _supp_id; }
        }

        /// <summary>
        /// 供应商简称
        /// </summary>
        public string SuppName
        {
            set { _supp_name = value; }
            get { return _supp_name; }
        }

        /// <summary>
        /// 供应商全称
        /// </summary>
        public string AllName
        {
            set { _all_name = value; }
            get { return _all_name; }
        }

        /// <summary>
        /// 地址
        /// </summary>
        public string Addr
        {
            set { _addr = value; }
            get { return _addr; }
        }

        /// <summary>
        /// 邮编
        /// </summary>
        public string Post
        {
            set { _post = value; }
            get { return _post; }
        }

        /// <summary>
        /// 电话
        /// </summary>
        public string Tele
        {
            set { _tele = value; }
            get { return _tele; }
        }

        /// <summary>
        /// 其他备注
        /// </summary>
        public string Bei
        {
            set { _bei = value; }
            get { return _bei; }
        }

        /// <summary>
        /// 联系人
        /// </summary>
        public string Liker
        {
            set { _liker = value; }
            get { return _liker; }
        }


        /// <summary>
        /// 开户银行
        /// </summary>
        public string Bank
        {
            set { _bank = value; }
            get { return _bank; }
        }

        /// <summary>
        /// 银行账号
        /// </summary>
        public string BankNo
        {
            set { _bank_no = value; }
            get { return _bank_no; }
        }


        /// <summary>
        /// 税号
        /// </summary>
        public string TaxNo
        {
            set { _tax_no = value; }
            get { return _tax_no; }
        }

        /// <summary>
        /// 可使用
        /// </summary>
        public string F1
        {
            set { _f1 = value; }
            get { return _f1; }
        }

        /// <summary>
        /// 分类
        /// </summary>
        public string F2
        {
            set { _f2 = value; }
            get { return _f2; }
        }

        /// <summary>
        /// 信用额度
        /// </summary>
        public decimal Faithje
        {
            set { _faithje = value; }
            get { return _faithje; }
        }


        /// <summary>
        /// 日期
        /// </summary>
        public DateTime DateF
        {
            set { _date_f = value; }
            get { return _date_f; }
        }

        public string Faith
        {
            set { _faith = value; }
            get { return _faith; }
        }

        /// <summary>
        /// 结存金额
        /// </summary>
        public decimal Debt
        {
            set { _debt = value; }
            get { return _debt; }
        }

        public string WayJs
        {
            set { _way_js = value; }
            get { return _way_js; }
        }

        /// <summary>
        /// 操作者
        /// </summary>
        public string Oper
        {
            set { _oper = value; }
            get { return _oper; }
        }


        /// <summary>
        /// 末次进货日期
        /// </summary>
        public DateTime DateL
        {
            set { _date_l = value; }
            get { return _date_l; }
        }

        /// <summary>
        /// 累计进货
        /// </summary>
        public decimal SumJeBuy
        {
            set { _sumjebuy = value; }
            get { return _sumjebuy; }
        }

        /// <summary>
        /// 法人
        /// </summary>
        public string Boss
        {
            set { _boss = value; }
            get { return _boss; }
        }
        #endregion Model
    }
}
